<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <meta name="theme-color" content="#2196f3">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
    <title>单页面 view ，多 tab 切换 -- tabs-routable </title>
    <!-- <link rel="stylesheet" href="./framework7/css/framework7.min.css"> -->
    <link rel="stylesheet" href="./framework7/css/framework7.ios.min.css">
    <link rel="stylesheet" href="./css/icons.css">
    <link rel="stylesheet" href="./css/app.css">
</head>

<body>
    <!-- app root -->
    <div id="app">
        <div class="view view-main ios-edges">
            <div class="page">
                <div class="navbar">
                    <div class="navbar-inner">
                        <div class="title">Routable Tabs</div>
                    </div>
                </div>
                <div class="toolbar tabbar">
                    <div class="toolbar-inner">
                        <!-- additional "data-route-tab-id" must match to tab's ID in the specified routes -->
                        <a href="/" class="tab-link" data-route-tab-id="tab-1">Tab 1</a>
                        <a href="/tab-2/" class="tab-link" data-route-tab-id="tab-2">Tab 2</a>
                        <a href="/tab-3/" class="tab-link" data-route-tab-id="tab-3">Tab 3</a>
                    </div>
                </div>
                <!-- Additional "tabs-routable" is required on tabs -->
                <div class="tabs tabs-routable">
                    <div class="tab page-content" id="tab-1"></div>
                    <div class="tab page-content" id="tab-2"></div>
                    <div class="tab page-content" id="tab-3"></div>
                </div>
            </div>
        </div>
    </div>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/4.1.0/echarts.min.js"></script>
    <script src="framework7/js/framework7.min.js"></script>
    <!-- <script src="./js/utils.js"></script> -->
    <script src="js/routes4.js"></script>
    <script src="js/app4.js"></script>
</body>

</html>